package com.zt.ztyh.service;

import com.zt.ztyh.vo.UserInfoVo;
import com.zt.ztyh.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

import java.math.BigDecimal;

@FeignClient(name = "ztyh-funds-login",path = "ztyh/login")
public interface UnLoanUserService {

    @PutMapping("/unLoan")
     boolean updateUserinfo(@RequestHeader("token") String token, @RequestBody UserInfoVo userByInfo);
}
